package org.example;

import feign.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;


/**
 * @author ：xjlonly
 * @date ：Created in 2021/4/6 17:15
 * @description：启动类
 * @modified By：
 * @version: 1.0$
 */

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class AutoDeliverApplication8097 {
    public static void main(String[] args) {
        SpringApplication.run(AutoDeliverApplication8097.class, args);
    }

    @Bean
    Logger.Level feignLevel() {
        return Logger.Level.FULL;
    }
}
